import Home from "@/pages/Home";
import Detail from "@/pages/Detail";
import Product from "@/pages/Product";
import PurchaseOrder from "@/pages/PurchaseOrder";
import Trade from "@/pages/Trade"
import Pay from "@/pages/Pay"

export default [
  {
    path: "/home",
    component: Home,
  },
  {
    path: "/detail",
    name:"detail",
    component: Detail,
  },
  {
    path: "/product",
    component: Product,
    name: "product",
  },
  {
    path:"/trade",
    component:Trade
  },
  {
    path:"/pay",
    component:Pay
  },
  {
    path: "/",
    redirect: "/home",
  },
  {
    path: "/purchaseOrder",
    component: PurchaseOrder,
    name: "purchaseOrder",
    meta: {
      //元数据
      isHidden: true,
    },
  },
];
